package com.hsbc.dev.teamo4.sms.sm.service;

import com.hsbc.dev.teamo4.sms.sm.po.Permission;

import java.util.List;

/**
 * @author:Kevin
 * @version:
 * @Project: permission_manage
 * @Package: com.hsbc.dev.teamo4.sms.sm.service
 * @Description:
 * @Date date: 2018/7/29
 */
public interface IPermissionDistributeService {

    List<Permission> getCurrentUserPermissionList(String userId);

    List<Permission> getRolePermissionList(String roleId);

    List<Permission> getUserPermissionList(String userId);

    boolean isSuperAdmin();
}
